package com.ruoyi.web.controller.mall.shopExpressCode.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 快递编码对象 shop_express_code
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class ShopExpressCode //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private String id;

    /** 快递编码 */
    @Excel(name = "快递编码")
    private String code;

    /** 快递名称 */
    @Excel(name = "快递名称")
    private String name;

    /** 是否是常用快递 1-是,0-否 */
    @Excel(name = "是否是常用快递 1-是,0-否")
    private Integer isHot;

    /** 是否禁用 */
    @Excel(name = "是否禁用")
    private Integer disabled;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long opBy;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date opAt;

    private String remark;

    /** 删除标记 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIsHot(Integer isHot) 
    {
        this.isHot = isHot;
    }

    public Integer getIsHot() 
    {
        return isHot;
    }
    public void setDisabled(Integer disabled) 
    {
        this.disabled = disabled;
    }

    public Integer getDisabled() 
    {
        return disabled;
    }
    public void setOpBy(Long opBy) 
    {
        this.opBy = opBy;
    }

    public Long getOpBy() 
    {
        return opBy;
    }
    public void setOpAt(Date opAt) 
    {
        this.opAt = opAt;
    }

    public Date getOpAt() 
    {
        return opAt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("isHot", getIsHot())
            .append("disabled", getDisabled())
            .append("opBy", getOpBy())
            .append("opAt", getOpAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
